package com.cq.hd.system.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class WithdrawalConfigSaveDto implements Serializable {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "id")
    private Long id;

    @NotNull(message = "提现用户类型不能为空")
    @ApiModelProperty(value = "提现用户类型(1-商户本金，2-经纪人，3-商户补贴)")
    private Integer withdrawalUserType;

    @NotNull(message = "资金账户类型不能为空")
    @ApiModelProperty(value = "资金账户类型(1:自建资金账户 2:平台资金账户)")
    private Integer financialAccountType;

    @NotNull(message = "起提金额不能为空")
    @ApiModelProperty(value = "起提金额")
    private BigDecimal minAmt;

//    @NotNull(message = "单次最高可提金额不能为空")
    @ApiModelProperty(value = "单次最高可提金额")
    private BigDecimal singleMaxAmt;

//    @NotNull(message = "单日可提次数不能为空")
    @ApiModelProperty(value = "单日可提次数")
    private Integer dayCount;

//    @NotNull(message = "提现手续费不能为空")
    @ApiModelProperty(value = "提现手续费")
    private BigDecimal commission;

    @ApiModelProperty(value = "提现说明")
    private String description;

    @ApiModelProperty(value = "提现自动审核方式(1-人工审核，2-自动审核)")
    private Integer autoApprovalType = 1;

    @ApiModelProperty(value = "自动审核提现金额")
    private BigDecimal autoApprovalAmt;
}
